/**
 * 菜单导航器
 */
function MenuNavigation(title, width, height) {
	this.title = title;
	this.width = width;
	this.height = height;
	this.bgColor = "";
	this.bgImage = "";
	this.items = new Array();
}

/**
 * 菜单项
 */
function MenuItem(title, width, height) {
	this.title = title;
	this.width = width;
	this.height = height;
	this.bgColor = "";
	this.bgImage = "";
	this.altBgImage = "";
	this.items = new Array();
}

function MenuItemContent(url, title, width, height){
	this.url = url;
	this.title = title;
	this.width = width;
	this.height = height;
	this.bgColor = "";
	this.bgImage = "";
	
	this.render = function() {
		var divObj = $c("div");
		var urlObj = $c("a");
		return divObj;
	};
}

function $(id) {
	return document.getElementById(id);
}

function $c(tagName) {
	return document.createElement(tagName);
}